You may be trying to access this site from a secured browser on the server. Please enable scripts and reload this page.
Turn on more accessible mode
Turn off more accessible mode
Skip Ribbon Commands
Skip to main content
To navigate through the Ribbon, use standard browser navigation keys. To skip between groups, use Ctrl+LEFT or Ctrl+RIGHT. To jump to the first Ribbon tab use Ctrl+[. To jump to the last selected command use Ctrl+]. To activate a command, use Enter.
Site Actions
This page location is:
Stenoweb Home Page
Debian Wheezy LLMP
Browse
Tab 1 of 3.
Page
Tab 2 of 3.
Publish
Tab 3 of 3.
Sign In
Stenoweb Home Page
Debian Wheezy LLMP
This is the home page to Stenoweb.
This Site
Top Link Bar
Home
Currently selected
Cory's Blog
Knights of ITS
Recently Modified
TECT
superslab
2017-04-nano
knarvik
Endpoint Computer Roles
Quick Launch
Pictures
Pictures
Sites
Cory's Blog
Knights of ITS
rework
True Conservative
SharePoint Playground
Libraries
Site Pages
Shared Documents
Drop Off Library
Lists
Calendar
Tasks
Discussions
Team Discussion
All Site Content
How to build an LLMP stack on a blank Debian system. This approach works well for me because it is easy to replicate on another system and system migration or recovery after a disaster is easy.
Install Debian, with no package options. Aftward, do all of this as root:
apt-get install lighttpd gd php5-cgi php5-mysql php5-gd mysql-server-5.5 imagemagick php5
l
ighty-enable-mod userdir fastcgi fastcgi-php
/etc/init.d/lighttpd force-reload
mysqladmin -u root password NEWPASSWORD
The lighttpd config file is at /etc/lighttpd/lighttpd.conf
The php binary location is at
You can change the port by changing server.port = from 80 to, for example, 81.
Eventually I'd also like to set up a backup script. In general, the backup script needs to do the following:
Create a folder in a scratch location with a title such as YYYY-MM-DD-Backup
preserve all of the databases in MySQL
preserve /etc/lighttpd/lighttpd.conf (the only file I have actually changed)
Preserve /var/www
preserve /home/
tar up YYYY-MM-DD-Backup as YYYY-MM-DD-Backup.tar
delete YYYY-MM-DD-Backup folder
false,false,1